<div class="phongs view">
<h2><?php  __('Phong');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phong['Phong']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phong'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phong['Phong']['phong']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Soluongmay'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phong['Phong']['soluongmay']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa', true), array('action' => 'edit', $phong['Phong']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $phong['Phong']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phong['Phong']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh sách phòng', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm phòng', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Thông tin thực hành', true), array('controller' => 'thuchanhs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm thông tin thực hành', true), array('controller' => 'thuchanhs', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Thuchanhs');?></h3>
	<?php if (!empty($phong['Thuchanh'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $phong['Thuchanh']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tuan Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $phong['Thuchanh']['tuan_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhomth Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $phong['Thuchanh']['nhomth_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phong Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $phong['Thuchanh']['phong_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Buoi');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $phong['Thuchanh']['buoi'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayth');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $phong['Thuchanh']['ngayth'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Edit Thuchanh', true), array('controller' => 'thuchanhs', 'action' => 'edit', $phong['Thuchanh']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Thuchanhs');?></h3>
	<?php if (!empty($phong['Thuchanh'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Tuan Id'); ?></th>
		<th><?php __('Nhomth Id'); ?></th>
		<th><?php __('Phong Id'); ?></th>
		<th><?php __('Buoi'); ?></th>
		<th><?php __('Ngayth'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($phong['Thuchanh'] as $thuchanh):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thuchanh['id'];?></td>
			<td><?php echo $thuchanh['tuan_id'];?></td>
			<td><?php echo $thuchanh['nhomth_id'];?></td>
			<td><?php echo $thuchanh['phong_id'];?></td>
			<td><?php echo $thuchanh['buoi'];?></td>
			<td><?php echo $thuchanh['ngayth'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'thuchanhs', 'action' => 'view', $thuchanh['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'thuchanhs', 'action' => 'edit', $thuchanh['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'thuchanhs', 'action' => 'delete', $thuchanh['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $thuchanh['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm thực hành', true), array('controller' => 'thuchanhs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
